package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题库选项对象 dz_tixx
 * 
 * @author ruoyi
 * @date 2022-09-02
 */
public class DzTixx extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 选项id */
    private Long xxId;

    /** 选项标 */
    @Excel(name = "选项标")
    private String xxtitle;

    /** 选项内容 */
    @Excel(name = "选项内容")
    private String content;

    /** 是否正确答案 */
    @Excel(name = "是否正确答案")
    private Long isright;

    /** 题目id */
    @Excel(name = "题目id")
    private Long tiId;

    public void setXxId(Long xxId) 
    {
        this.xxId = xxId;
    }

    public Long getXxId() 
    {
        return xxId;
    }
    public void setXxtitle(String xxtitle) 
    {
        this.xxtitle = xxtitle;
    }

    public String getXxtitle() 
    {
        return xxtitle;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setIsright(Long isright) 
    {
        this.isright = isright;
    }

    public Long getIsright() 
    {
        return isright;
    }
    public void setTiId(Long tiId) 
    {
        this.tiId = tiId;
    }

    public Long getTiId() 
    {
        return tiId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("xxId", getXxId())
            .append("xxtitle", getXxtitle())
            .append("content", getContent())
            .append("isright", getIsright())
            .append("tiId", getTiId())
            .toString();
    }
}
